$OpenBSD: patch-src_Resolver_cc,v 1.12 2014/09/16 12:35:18 sthen Exp $
--- src/Resolver.cc.orig	Wed Aug 27 09:34:02 2014
+++ src/Resolver.cc	Tue Sep 16 13:21:48 2014
@@ -801,8 +801,6 @@ void Resolver::LookupOne(const char *name)
 #  undef h_errno // it could be a macro, but we want it to be local variable.
       int h_errno=0;
       ha=getipnodebyname(name,af,0,&h_errno);
-# elif defined(HAVE_GETHOSTBYNAME2)
-      ha=gethostbyname2(name,af);
 # else
       if(af==AF_INET)
 	 ha=gethostbyname(name);
